package com.bdqn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bdqn.pojo.Right;
import com.bdqn.pojo.Role;

import java.util.List;

/**
 * @author LILIBO
 * @description 针对表【sys_role】的数据库操作Service
 * @createDate 2024-09-07 10:46:48
 */
public interface RoleService extends IService<Role> {

    /**
     * 获取所有角色信息
     *
     * @return
     */
    List<Role> all();

    List<Right> findRightsByRole(Role role);
}
